package com.fc.push.exception;

public class MServerException extends RuntimeException{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int level = 1;
	
	public MServerException(Throwable e){
		super(e);
	}
	
	public MServerException(String msg){
		super(msg);
	}
	
	public MServerException(Throwable e,String msg){
		super(msg,e);
	}
	
	public MServerException(Throwable e,String msg,int level){
		super(msg,e);
		this.level = level;
	}
	
	/**
	 * 
	 * @return
	 */
	public int getLevel(){
		return level;
	}
}
